package com.xdjd.task.service.daoservice;


import com.xdjd.task.mapper.member.MemberUserStepPoDao;
import com.xdjd.task.model.member.MemberUserStepPo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * Created by Administrator on 2019/1/9 0009.
 */
@Service
public class MemberUserStepPoService {

    @Autowired
    private MemberUserStepPoDao memberUserStepPoDao;

    public int updateStepNumber(Long memberId, Long stepNumber) {
        return memberUserStepPoDao.updateStepNumber(memberId, stepNumber);
    }

    public int addChanceCountLock(Long memberId) {
        return memberUserStepPoDao.addChanceCountLock(memberId);
    }

    public void initUserStep(){
        memberUserStepPoDao.initUserStep();
    }

}
